package com.cloudkinto.service.product.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.cloudkinto.common.constant.SysConstant;
import lombok.Data;

/**
 * Author Administrator
 *
 * @Des
 * @Version
 * @Date 2020/6/19
 */
@Data

public class ProductInfoExcelImport {
    @Excel(name = "产品种类", fixedIndex = 0)
    private String productType;
    @Excel(name = "产品类别", replace = {"普通产品_common", "组合产品_combination"},fixedIndex = 1)
    private String typeOfProduct;
    @Excel(name = "产品SKU（数字,英文,_组成）", fixedIndex = 2)
    private String commoditySku;
    @Excel(name = "UPC", fixedIndex = 3)
    private String upc;
    @Excel(name = "FNSKU", fixedIndex = 4)
    private String fnSku;
    @Excel(name = "产品名称(中文)", fixedIndex = 5)
    private String productName;

    @Excel(name = "产品名称(日语)", fixedIndex = 6)
    private String commodityName;
    @Excel(name = "产品颜色", fixedIndex = 7)
    private String color;
    @Excel(name = "产品重量（kg）", fixedIndex = 8)
    private Float weight;
    @Excel(name = "产品长度（cm）", fixedIndex = 9)
    private Float length;
    @Excel(name = "产品宽度（cm）", fixedIndex = 10)
    private Float width;
    @Excel(name = "产品高度（cm）", fixedIndex = 11)
    private Float height;
    @Excel(name = "售价（日币）", fixedIndex = 12)
    private Integer salePrice;
    @Excel(name = "货值（人民币）", fixedIndex = 13)
    private Float reportPrice;
    @Excel(name = "平台SKU(多个子SKU请用英文逗号分隔)", fixedIndex = 14)
    private String subSku;
    @Excel(name = "图片", fixedIndex = 15,type = 2,savePath = SysConstant.filePathTemp)
    private String fileUrl;
    @Excel(name = "需要包装", fixedIndex = 16)
    private String needPackage;
    @Excel(name = "装箱个数", fixedIndex = 17)
    private String packageCount;

    @Excel(name = "是否投保", replace = {"是_true","否_false"}, fixedIndex = 18)
    private Boolean isInsure;

    @Excel(name = "投保金额",fixedIndex = 19)
    private Double insureAmount;
}
